import { http, download } from '../../apis/request'
// this.prototype.$http = http;
const request = http
let labelSetting = {
    //获取标签分类列表
    getLabel(labState, pageNumber, pageSize){
      return request("/other/getLabel", {labState, pageNumber, pageSize})
    },
    //修改标签状态
    updateLabelState(labId,labState){
      return request("/other/updateLabel", {labId, labState})
    },
    //修改标签
    updateLabel(data){
      return request("/other/updateLabel", data)
    },
    //增加标签
    updateLabel(data){
      return request("/other/insertLabel", data)
    }
}
export default labelSetting